﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace TrenchcoatRobots.Datatypes {
	/// <summary>
	/// Camera is a datatype with a Position and a Zoom, used for getting different viewpoints of the scenes
	/// </summary>
	class Camera {
		public Vector2 Position { get; set; }
		public float Zoom { get; set; }

		#region Constructors
		/// <summary>
		/// Creates a new camera for use with rendering
		/// </summary>
		/// <param name="position">The position of the camera</param>
		public Camera (Vector2 position) {
			Position = position;
			Zoom = 1f;
		}
		/// <summary>
		/// Creates a new camera at 0,0
		/// </summary>
		public Camera () {
			Position = new Vector2();
			Zoom = 1f;
		}
		/// <summary>
		/// Creates a new camera with a specific position and a specific zoom level
		/// </summary>
		/// <param name="position">The position of the camera</param>
		/// <param name="zoom">The zoom level of the camera</param>
		public Camera (Vector2 position, float zoom) {
			Position = position;
			Zoom = zoom;
		}

		#endregion
	}
}
